#include<bits/stdc++.h>
using namespace std;
int main(){
	srand(time(0));
	freopen("color.in","r",stdin);
	freopen("color.out","w",stdout);
	scanf("%d",&t);
	while(t--){
		cout<<rand()<<"\n";
	}
	return 0;	
}